Set
Function
This API is used for setting Thermal > Fire Detection parameter.
Request Message
Parameter Description
See Thermal > Fire Detection > Request Message >Parameter Description > Table 2 Get Parameter description
Sample:
POST /API/Thermal/Setup/FireDetection/Set HTTP/1.1
{
"version": "1.0",
"data": {
"channel_info": {"CH2": {
"status": "Online",
"detection": {
"switch": true,
"sensitivity": 50
},
"chn_index": "CH2",
"page": "chn_fire_detection",
"selectEditRow": 0
}},
"page_type": "ChannelConfig"
}
}
Response Message
none.
Sample:
HTTP/1.1 200 OK
Content-Type: application/json
{
"result": "success",
"data": {}
}
Error Code
See Response message body and general error_code for more information.